package com.base.service;

import java.util.List;

import com.common.bean.Rule;
import com.common.util.PagerModel;

public interface RuleService {
	public void addRule(Rule rule);

	public void removeRule(long ruleno);
	
	public void updateRule(Rule rule);
	
	public List<Rule> findAllRule();
	
	public Rule findRule(long ruleno);
	
	public PagerModel findRulesForPager(int offset,int pagesize);
	
}
